package exsun.jt808.data.distribute_data.jt808;

import exsun.jt808.data.distribute_data.DistributeEntity;

import java.util.Date;

/**
 * 存储多媒体数据检索
 */
public class QueryMedia extends DistributeEntity
{
    /**
     * 多媒体类型
     * 0：图像；1：音频；2：视频；
     */
    private int mediaType;
    /**
     * 通道ID >0
     */
    private int channelId;
    /**
     * 事件项编码
     * 0：平台下发指令；1：定时动作；2：抢劫报警触发；3：碰撞侧翻报警触发；其他保留
     */
    private int eventType;
    /**
     * 拍照间隔/录像时间
     * 秒，0 表示按最小间隔拍照或一直录像
     */
    private Date beginTime;
    /**
     * 保存标志
     * 1：保存；0：实时上传
     */
    private Date endTime;

    public int getMediaType() {
        return mediaType;
    }

    public void setMediaType(int mediaType) {
        this.mediaType = mediaType;
    }

    public int getChannelId() {
        return channelId;
    }

    public void setChannelId(int channelId) {
        this.channelId = channelId;
    }

    public int getEventType() {
        return eventType;
    }

    public void setEventType(int eventType) {
        this.eventType = eventType;
    }

    public Date getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(Date beginTime) {
        this.beginTime = beginTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }
}
